package com.zlb.knifeconsumer.service;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;

@FeignClient(name = "knife-provider-test", path = "/test")
public interface TestFeignService {
    // 访问 hobby-provider-test 服务的 /test/testQuery
    @RequestMapping("/testQuery")
    String testQuery();
}
